package mipo.top.system.mapper;

import mipo.top.base.mapper.BaseMapper;
import mipo.top.system.domain.Menu;
import mipo.top.system.domain.Permission;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {
    Permission loadBySn(String permissionSn);

    List<String> loadOwnPermissionByLogininId(Long id);
}
